<?php

namespace app\admin\validate;

use think\Validate;

class UserRole extends Validate
{
    protected $rule = [
        'user_id|管理员' => 'require',
        'role_id|角色' => 'require',
    ];
}